package top.continew.admin.sport.model.req;

import java.io.Serial;
import java.time.LocalDateTime;

import jakarta.validation.constraints.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import org.hibernate.validator.constraints.Length;

import top.continew.starter.extension.crud.model.req.BaseReq;

/**
 * 创建或修改报名信息
 *
 * @author xiahaike
 * @since 2024/09/15 02:01
 */
@Data
@Schema(description = "创建或修改报名信息")
public class ProjectEntryReq extends BaseReq {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 项目id
     */
    @Schema(description = "项目id")
    @NotNull(message = "项目id不能为空")
    private Long projectId;

    /**
     * 运动员id(运动员id和部门id只能同时一个有值)
     */
    @Schema(description = "运动员id(运动员id和部门id只能同时一个有值)")
    private Long userId;

    /**
     * 团队（部门）id
     */
    @Schema(description = "团队（部门）id")
    private Long teamId;
}